package com.cssp.lof.service.impl;

import java.util.List;

import com.cssp.lof.dao.LostInfoDao;
import com.cssp.lof.model.LostInfo;
import com.cssp.lof.service.LOFService;

public class LostInfoService implements LOFService<LostInfo>
	{
		private LostInfoDao lostInfoDao;

		public void addLOFInfo(LostInfo lostInfo)
			{
				lostInfoDao.addLostInfo(lostInfo);
			}

		public void deleteLOFInfo(String id)
			{
				lostInfoDao.deleteLostInfo(id);
			}

		public List<LostInfo> getAllLOFInfo()
			{
				return lostInfoDao.getAllLostInfo();
			}

		public LostInfo getLOFInfoById(String id)
			{
				return lostInfoDao.getLostInfoById(id);
			}

		public void updateLOFInfo(LostInfo lostInfo)
			{
				lostInfoDao.updateLostInfo(lostInfo);
			}

		public LostInfoDao getLostInfoDao()
			{
				return lostInfoDao;
			}

		public void setLostInfoDao(LostInfoDao lostInfoDao)
			{
				this.lostInfoDao = lostInfoDao;
			}

	}
